package org.jet.emall.rbac.annotation;

import java.lang.annotation.*;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-09 14:37
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface ApiInformation {

    /**
     * api的功能
     * @return
     */
    String function() default "";

    /**
     * api所属菜单
     * @return
     */
    String menu() default "";

}
